package com.zanfeng.signleplatform.api.result.modules.permission;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zanfeng.signleplatform.base.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by wt-templete-helper.
 */
@ApiModel(value = "PermissionResult", description = "PermissionResult描述")
public class PermissionResult implements Serializable{

    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "所属模块")
    private Integer moduleId;
    @ApiModelProperty(value = "所属模块名称")
    private String moduleName;
    @ApiModelProperty(value = "权限码")
    private String permissionCode;
    @ApiModelProperty(value = "权限名称")
    private String permissionName;
    @ApiModelProperty(value = "排序")
    private Integer orderNum;
    @ApiModelProperty(value = "是否发布 0/未发布,1/发布")
    private Integer isPublish;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    public PermissionResult() {
    }

    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getModuleId() {
        return this.moduleId;
    }
    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getPermissionCode() {
        return this.permissionCode;
    }
    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }
    public String getPermissionName() {
        return this.permissionName;
    }
    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }
    public Integer getOrderNum() {
        return this.orderNum;
    }
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
    public Integer getIsPublish() {
        return this.isPublish;
    }
    public void setIsPublish(Integer isPublish) {
        this.isPublish = isPublish;
    }
    public Date getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
